package org.miniframework.mvc.render;

import org.miniframework.mvc.RequestProcessorChain;

/**默认渲染器 ,默认就返回状态码为200 ok即可
 * 默认渲染器
 */
public class DefaultResultRender implements ResultRender{

    @Override
    public void render(RequestProcessorChain chain) throws Exception {
        chain.getResponse().setStatus(chain.getResponseCode());
    }
}
